package com.example.qrcode.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;

@Data
@TableName("user")
public class User {
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String username;

    private String password;

    @TableField("nick_name")
    private String nickName;

    private Integer age;

    private String sex;

    private String address;

    private Integer role; // 1：管理员(安装人员)，2：普通用户(操作人员)
}
